i = 0
s = 1

while i < 10:
	i = i + 1
	s=s*i
	print i,s

	
